package com.api.sw.duban.model;

import com.api.sw.duban.annotation.Field;
import com.api.sw.duban.annotation.Table;

import java.text.SimpleDateFormat;
import java.util.Date;

/*
    交办记录列表
 */
@Table(value="uf_dbjblb",datasource = "local")
public class Assigned {
    @Field(dbFiledName="")
    private String ssrwid="";//所属任务ID
    @Field(dbFiledName="")
    private int dw;//单位
    @Field(dbFiledName="")
    private String zxb="";//主协办
    @Field(dbFiledName="")
    private String djr="";//对接人
    @Field(dbFiledName="")
    private int zt=0;//状态
    @Field(dbFiledName="")
    private String jssx="";//接收时限
    @Field(dbFiledName="")
    private String fksx="";//反馈时限
    @Field(dbFiledName="")
    private String sjjsrq="";//实际接收日期
    @Field(dbFiledName="")
    private String xbdjr="";//协办对接人
    @Field(dbFiledName="")
    private String yq="";//要求
    @Field(dbFiledName="")
    private String dbry="";//督办人员
    @Field(dbFiledName="")
    private String key1="";//key

    /* 建模自带属性*/
    @Field(dbFiledName="")
    private String modedatacreater="1";//创建人
    @Field(dbFiledName="")
    private String modedatacreatedate="";//创建日期
    @Field(dbFiledName="")
    private String formmodeid="134";//模型ID 默认值 本地14
    @Field(dbFiledName="")
    private String modedatacreatertype="";//创建类型
    @Field(dbFiledName="")
    private String modedatacreatetime="";//创建时间
    @Field(dbFiledName="")
    private String modeuuid="";//UUID

    public Assigned(){
        SimpleDateFormat sim=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.modedatacreatedate=sim.format(new Date()).split(" ")[0];
        this.modedatacreatetime=sim.format(new Date()).split(" ")[1];
    }

    public String getKey1() {
        return key1;
    }

    public void setKey1(String key1) {
        this.key1 = key1;
    }

    public String getDbry() {
        return dbry;
    }

    public void setDbry(String dbry) {
        this.dbry = dbry;
    }

    public String getYq() {
        return yq;
    }

    public void setYq(String yq) {
        this.yq = yq;
    }

    public String getModeuuid() {
        return modeuuid;
    }

    public void setModeuuid(String modeuuid) {
        this.modeuuid = modeuuid;
    }

    public String getSsrwid() {
        return ssrwid;
    }

    public void setSsrwid(String ssrwid) {
        this.ssrwid = ssrwid;
    }

    public int getDw() {
        return dw;
    }

    public void setDw(int dw) {
        this.dw = dw;
    }

    public String getZxb() {
        return zxb;
    }

    public void setZxb(String zxb) {
        this.zxb = zxb;
    }

    public String getDjr() {
        return djr;
    }

    public void setDjr(String djr) {
        this.djr = djr;
    }

    public int getZt() {
        return zt;
    }

    public void setZt(int zt) {
        this.zt = zt;
    }

    public String getJssx() {
        return jssx;
    }

    public void setJssx(String jssx) {
        this.jssx = jssx;
    }

    public String getFksx() {
        return fksx;
    }

    public void setFksx(String fksx) {
        this.fksx = fksx;
    }

    public String getSjjsrq() {
        return sjjsrq;
    }

    public void setSjjsrq(String sjjsrq) {
        this.sjjsrq = sjjsrq;
    }

    public String getXbdjr() {
        return xbdjr;
    }

    public void setXbdjr(String xbdjr) {
        this.xbdjr = xbdjr;
    }

    public String getModedatacreater() {
        return modedatacreater;
    }

    public void setModedatacreater(String modedatacreater) {
        this.modedatacreater = modedatacreater;
    }

    public String getModedatacreatedate() {
        return modedatacreatedate;
    }

    public void setModedatacreatedate(String modedatacreatedate) {
        this.modedatacreatedate = modedatacreatedate;
    }

    public String getFormmodeid() {
        return formmodeid;
    }

    public void setFormmodeid(String formmodeid) {
        this.formmodeid = formmodeid;
    }

    public String getModedatacreatertype() {
        return modedatacreatertype;
    }

    public void setModedatacreatertype(String modedatacreatertype) {
        this.modedatacreatertype = modedatacreatertype;
    }

    public String getModedatacreatetime() {
        return modedatacreatetime;
    }

    public void setModedatacreatetime(String modedatacreatetime) {
        this.modedatacreatetime = modedatacreatetime;
    }

    @Override
    public String toString() {
        return "Assigned{" +
                "ssrwid='" + ssrwid + '\'' +
                ", dw=" + dw +
                ", zxb='" + zxb + '\'' +
                ", djr='" + djr + '\'' +
                ", zt=" + zt +
                ", jssx='" + jssx + '\'' +
                ", fksx='" + fksx + '\'' +
                ", sjjsrq='" + sjjsrq + '\'' +
                ", xbdjr='" + xbdjr + '\'' +
                ", yq='" + yq + '\'' +
                ", dbry='" + dbry + '\'' +
                ", key1='" + key1 + '\'' +
                ", modedatacreater='" + modedatacreater + '\'' +
                ", modedatacreatedate='" + modedatacreatedate + '\'' +
                ", formmodeid='" + formmodeid + '\'' +
                ", modedatacreatertype='" + modedatacreatertype + '\'' +
                ", modedatacreatetime='" + modedatacreatetime + '\'' +
                ", modeuuid='" + modeuuid + '\'' +
                '}';
    }
}
